package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Extent;
import cn.topevery.garden.entity.po.GpsClientState;
import cn.topevery.garden.entity.query.GpsClientStateQuery;
import cn.topevery.garden.entity.vo.GpsClientStateVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 状态详情
 *
 * @author code-generate
 * @date 2021-09-13
 */
public interface GpsClientStateDao extends BaseDao<GpsClientState> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<GpsClientStateVO> listPage(String name, GpsClientStateQuery query);

    List<Map<String, Object>> getObjCurrentPos(GpsClientStateQuery query);

    Extent getExtentByTypeAndId(GpsClientStateQuery query);

    List<List<Map<String, Object>>> getGpsTrace(GpsClientStateQuery query);

    List<List<Map<String, Object>>> getGpsTraceSprinkler(GpsClientStateQuery query);

}
